package orm;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractState entity provides the base persistence definition of the State
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractState implements java.io.Serializable {

	// Fields

	private Integer stateId;
	private String state;
	private Set deals = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractState() {
	}

	/** minimal constructor */
	public AbstractState(String state) {
		this.state = state;
	}

	/** full constructor */
	public AbstractState(String state, Set deals) {
		this.state = state;
		this.deals = deals;
	}

	// Property accessors

	public Integer getStateId() {
		return this.stateId;
	}

	public void setStateId(Integer stateId) {
		this.stateId = stateId;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Set getDeals() {
		return this.deals;
	}

	public void setDeals(Set deals) {
		this.deals = deals;
	}

}